<template>
    <div v-for="(error,index) in data.params" :key="index">
        <span>
            {{ error }}
        </span></div>
</template>

<script setup>
import {defineProps, ref} from 'vue';

const props = defineProps({
    data: {
        type: Object,
        required: true
    }
});

const {data} = ref(props).value;

</script>
